/*    */ package com.qmsk.business.sys.autono.dao;
/*    */ 
/*    */ import com.utils.jdbc.connection.SqlLoadUtils;
/*    */ import com.utils.jdbc.dao.BasicDAO;
/*    */ import java.sql.SQLException;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class AutoNoDAO extends BasicDAO
/*    */ {
/*    */   private static final String SP_GET_TABLE_FIELD_MAX_ID = "sp_GetTableFieldMaxId";
/*    */   private static final String SP_GET_TABLE_FIELD_MAX_NO = "sp_GetTableFieldMaxNo";
/*    */   private static final String SP_GET_TABLE_FIELD_MAX_NO_DAY_SHOP = "sp_GetTableFieldMaxNo_Day_Shop";
/*    */   private Map<Long, Object> mapUrl;
/* 32 */   private static AutoNoDAO instance = null;
/*    */ 
/*    */   public Map<Long, Object> getMapUrl()
/*    */   {
/* 25 */     return this.mapUrl;
/*    */   }
/*    */ 
/*    */   public void setMapUrl(Map<Long, Object> mapUrl) {
/* 29 */     this.mapUrl = mapUrl;
/*    */   }
/*    */ 
/*    */   public static AutoNoDAO getInstance()
/*    */   {
/* 35 */     return instance;
/*    */   }
/*    */ 
/*    */   public static void setInstance(AutoNoDAO u) {
/* 39 */     instance = u;
/*    */   }
/*    */ 
/*    */   public Long getSpTableFieldMaxNo(Class clazz)
/*    */     throws SQLException
/*    */   {
/* 57 */     return SqlLoadUtils.getSpTableFieldMaxNo(getCurrentDataSource(), clazz, super.getClass(), 
/* 58 */       "sp_GetTableFieldMaxNo");
/*    */   }
/*    */ 
/*    */   public Long getSpTableFieldMaxLong(Class clazz)
/*    */     throws SQLException
/*    */   {
/* 64 */     return SqlLoadUtils.getSpTableFieldMaxLong(getCurrentDataSource(), clazz, super.getClass(), 
/* 65 */       "sp_GetTableFieldMaxId");
/*    */   }
/*    */ 
/*    */   public Long getSpTableFieldMaxLong(Class clazz, String sFldName)
/*    */     throws SQLException
/*    */   {
/* 71 */     return SqlLoadUtils.getSpTableFieldMaxLong(getCurrentDataSource(), clazz, super.getClass(), 
/* 72 */       "sp_GetTableFieldMaxId", sFldName);
/*    */   }
/*    */ 
/*    */   public String getSpTableFieldMaxString(Class clazz)
/*    */     throws SQLException
/*    */   {
/* 78 */     return SqlLoadUtils.getSpTableFieldMaxString(getCurrentDataSource(), clazz, super.getClass(), 
/* 79 */       "sp_GetTableFieldMaxNo");
/*    */   }
/*    */ 
/*    */   public String getSpTableFieldMaxString(Class clazz, String sFldName)
/*    */     throws SQLException
/*    */   {
/* 85 */     return SqlLoadUtils.getSpTableFieldMaxString(getCurrentDataSource(), clazz, super.getClass(), 
/* 86 */       "sp_GetTableFieldMaxNo", sFldName);
/*    */   }
/*    */ 
/*    */   public String getSpTableFieldDayNoShopId(Class clazz, String sFldName, Object shopId)
/*    */     throws SQLException
/*    */   {
/* 92 */     return SqlLoadUtils.getSpTableFieldDayNoShopId(getCurrentDataSource(), clazz, super.getClass(), 
/* 93 */       "sp_GetTableFieldMaxNo_Day_Shop", sFldName, shopId);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.sys.autono.dao.AutoNoDAO
 * JD-Core Version:    0.5.3
 */